<%@ page language="java" import="java.util.*" contentType="text/html;charset=utf-8" %>
<%@ page import="com.qipay.baas.model.Peizhi" %>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<%
    Peizhi peizhi = (Peizhi)request.getAttribute("peizhi");%>
<link href="<%= request.getAttribute("StaticHost") %>/img/<%= peizhi.getWebLogo()%>" rel="shortcut icon" type="image/x-icon" />
<style>
    #searchForm {
        margin-bottom: 10px;
    }
    .buttonSize{
        font-size: 1rem !important;
    }
    .searchFormInput{
        border-radius: 2px;border: 1px solid #dcdcdc;padding:5px;margin-top: 2px;
    }
    .searchForm{
        padding-bottom:5px;
    }
    .borderNone{
        border: none !important;
    }
    .tdCenter{
        text-align: center;
    }
    .tdLeft{
        text-align: left;
    }
    .border{
        border:none !important;
        padding: 10px;
    }

</style>
<!-- Tell the browser to be responsive to screen width -->
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
<!-- Bootstrap 3.3.7 -->
<link rel="stylesheet" href="<%= request.getAttribute("StaticHost") %>/css/bootstrap.min.css">
<!-- Font Awesome -->
<link rel="stylesheet" href="<%= request.getAttribute("StaticHost") %>/css/font-awesome.min.css">
<!-- Ionicons -->
<link rel="stylesheet" href="<%= request.getAttribute("StaticHost") %>/css/ionicons.min.css">
<!-- Theme style -->
<link rel="stylesheet" href="<%= request.getAttribute("StaticHost") %>/css/AdminLTE.min.css">
<!-- iCheck -->
<%--<link rel="stylesheet" href="<%= request.getAttribute("StaticHost") %>/css/square/blue.css">--%>
<link rel="stylesheet" href="<%= request.getAttribute("StaticHost") %>/css/_all-skins.min.css">
<link rel="stylesheet" href="<%= request.getAttribute("StaticHost") %>/css/layoutit.css">
<script src="<%= request.getAttribute("StaticHost") %>/js/google/jquery.min.js"></script>
<script src="<%= request.getAttribute("StaticHost") %>/js/bootstrap.min.js"></script>
<script src="<%= request.getAttribute("StaticHost") %>/js/qipay.js"></script>
<script>
    var contextPath = "${pageContext.request.contextPath}";
    window.onload=function(){
        var mobile_flag = isMobile(); // false为PC端，true为手机端
        if(mobile_flag){
            $('button').addClass('buttonSize');
            $('a.btn').addClass('buttonSize');
        }
        $('#searchForm').find('input').addClass('searchFormInput');
        $('#searchForm').find('select').addClass('searchFormInput');
        $('#searchForm').addClass('searchForm');
    };
    function isMobile() {
        var userAgentInfo = navigator.userAgent;

        var mobileAgents = [ "Android", "iPhone", "SymbianOS", "Windows Phone", "iPad","iPod"];

        var mobile_flag = false;

        //根据userAgent判断是否是手机
        for (var v = 0; v < mobileAgents.length; v++) {
            if (userAgentInfo.indexOf(mobileAgents[v]) > 0) {
                mobile_flag = true;
                break;
            }
        }

        var screen_width = window.screen.width;
        var screen_height = window.screen.height;

        //根据屏幕分辨率判断是否是手机
        if(screen_width < 500 && screen_height < 800){
            mobile_flag = true;
        }
        return mobile_flag;
    }
</script>

<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->

<!-- Google Font -->
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,600,700,300italic,400italic,600italic">